package com.rabbit.producer;

import com.rabbit.producer.mq.MqMessage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.stream.annotation.EnableBinding;

@SpringBootApplication
@EnableDiscoveryClient
@EnableBinding(MqMessage.class)
public class SpringRabbitProducerApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringRabbitProducerApplication.class, args);
	}

}
